import Layout from '@/layout'

export default{
    
        path:'/employees',
        component: Layout,
        children:[
          {
            path:'',
            name:'employees',
            component:()=> import('@/views/employees/employees.vue'),
            meta:{title:'员工管理',icon:'nagen'}
          },
          {
            hidden:true,//不在左侧菜单显示
            path:'detail/:id',//路径参数需要:id id是形参 来接收路径参数
            name:'detail',
            component:()=>import('@/views/employees/detail.vue')
          }
        ]
      
}